package com.woniu.bedinfo.dao;

import com.woniu.bedinfo.entity.JpBedinfoExample;
import com.woniu.common.entity.JpBedinfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface JpBedinfoDao {
    long countByExample(JpBedinfoExample example);

    int deleteByExample(JpBedinfoExample example);

    int deleteByPrimaryKey(Long id);

    int insert(JpBedinfo record);

    int insertSelective(JpBedinfo record);

    List<JpBedinfo> selectByExample(JpBedinfoExample example);

    JpBedinfo selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") JpBedinfo record, @Param("example") JpBedinfoExample example);

    int updateByExample(@Param("record") JpBedinfo record, @Param("example") JpBedinfoExample example);

    int updateByPrimaryKeySelective(JpBedinfo record);

    int updateByPrimaryKey(JpBedinfo record);
}